package com.micromall.common.payment.dto.query.bytime.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

import java.util.List;

/**
 * Created by DanteFung on 2017/7/4.
 */
@JsonRootName("body")
public class Body {

    @JsonProperty("Count")
    private String count;

    @JsonProperty("Total")
    private String total;

    @JsonProperty("Page")
    private String page;

    @JsonProperty("OrderRecords")
    private List<OrderRecord> orderRecords;

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public List<OrderRecord> getOrderRecords() {
        return orderRecords;
    }

    public void setOrderRecords(List<OrderRecord> orderRecords) {
        this.orderRecords = orderRecords;
    }

    @Override
    public String toString() {
        return "Body{" +
                "count='" + count + '\'' +
                ", total='" + total + '\'' +
                ", page='" + page + '\'' +
                ", orderRecords=" + orderRecords +
                '}';
    }
}
